//************************************************************************
//     dfget.h
//     2009 © DigiFi Limited
//
//     This is the headerfile defines all of the single return valued
//     commands
//
//************************************************************************


#ifndef DFGET_HEADER
#define DFGET_HEADER

#include "dfclient.h"

// Get single valued functions
int dfget_volume(unsigned int room_id, void (*callback)(int));
int dfget_playerstatus(unsigned int room_id, void (*callback)(char*));
int dfget_repeat(unsigned int room_id, void (*callback)(int));
int dfget_shuffle(unsigned int room_id, void (*callback)(int));
int dfget_trackname(unsigned int room_id, void (*callback)(df_track*));
int dfget_tracknum(unsigned int room_id, void (*callback)(int));
int dfget_trackpos(unsigned int room_id, void (*callback)(df_time*));
int dfget_albumartist(unsigned int room_id, void (*callback)(df_albumartist*));

// returns name and uri
int dfget_checkcoverimage(char *address, int image_size, int address_type, int local, char *protocol, char *image_format, void (*callback)(char*, char*));

int dfget_librarychecksum(unsigned int room_id, void (*callback)(int));


int dfget_callbackhandler(char *regex_name, dfrx_result *rx, void (*callback)(void));



#endif